package com.hopu.service.Impl;

import com.hopu.mapper.BiaoMapper;
import com.hopu.mapper.BsMapper;
import com.hopu.pojo.Biao;
import com.hopu.pojo.Mybs;
import com.hopu.service.BiaoService;
import com.hopu.service.BsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BsServiceImpl implements BsService {
   @Autowired
   private BsMapper bsMapper;


    @Override
    public List<Mybs> findAllBs() {
        return bsMapper.findAllBs();
    }

    @Override
    public int addBs(int hid, long mtime, String bremark, int eid) {
        return bsMapper.addBs(hid,mtime,bremark,eid);
    }

    @Override
    public Mybs findBsByBid(int bid) {
        return bsMapper.findBsByBid(bid);
    }

    @Override
    public int uppBs(Mybs mybs) {
        return bsMapper.uppBs(mybs);
    }


}
